<template>
     <van-tabbar v-model="active" active-color="#ee0a24" route>
        <van-tabbar-item icon="home-o" to="/home"> 小页页</van-tabbar-item>
        <van-tabbar-item icon="apps-o">小类类</van-tabbar-item>
        <van-tabbar-item icon="cart-o" to="/cart">小车车</van-tabbar-item>
        <van-tabbar-item icon="manager-o">小飞棍</van-tabbar-item>
      </van-tabbar>
</template>

<script setup lang="ts">
import { reactive, ref } from "vue";
// 定义变量
let active = ref<number>(0);
</script>

<style scoped>

</style>